package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import entity.example.BuildingExample;

public interface BuildingMapper {
    long countByExample(BuildingExample example);

    int deleteByExample(BuildingExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(entity.Building record);

    int insertSelective(entity.Building record);

    List<entity.Building> selectByExample(BuildingExample example);

    entity.Building selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") entity.Building record, @Param("example") BuildingExample example);

    int updateByExample(@Param("record") entity.Building record, @Param("example") BuildingExample example);

    int updateByPrimaryKeySelective(entity.Building record);

    int updateByPrimaryKey(entity.Building record);
}